Financials
List Stripe Payment Intents
deprecated
POST
/
psp-payments
List Stripe Payment Intents
curl --request POST \
--url https://nestvet.com/api/1.1/wf/psp-payments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"organization": "<string>",
"limit": 123,
"offset": 123,
"clinic": "<string>",
"starting_after": "<string>",
"created_since": 123
}
'import requests
url = "https://nestvet.com/api/1.1/wf/psp-payments"
payload = {
"organization": "<string>",
"limit": 123,
"offset": 123,
"clinic": "<string>",
"starting_after": "<string>",
"created_since": 123
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
organization: '<string>',
limit: 123,
offset: 123,
clinic: '<string>',
starting_after: '<string>',
created_since: 123
})
};
fetch('https://nestvet.com/api/1.1/wf/psp-payments', 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://nestvet.com/api/1.1/wf/psp-payments",
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([
'organization' => '<string>',
'limit' => 123,
'offset' => 123,
'clinic' => '<string>',
'starting_after' => '<string>',
'created_since' => 123
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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://nestvet.com/api/1.1/wf/psp-payments"
payload := strings.NewReader("{\n \"organization\": \"<string>\",\n \"limit\": 123,\n \"offset\": 123,\n \"clinic\": \"<string>\",\n \"starting_after\": \"<string>\",\n \"created_since\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://nestvet.com/api/1.1/wf/psp-payments")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"organization\": \"<string>\",\n \"limit\": 123,\n \"offset\": 123,\n \"clinic\": \"<string>\",\n \"starting_after\": \"<string>\",\n \"created_since\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://nestvet.com/api/1.1/wf/psp-payments")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"organization\": \"<string>\",\n \"limit\": 123,\n \"offset\": 123,\n \"clinic\": \"<string>\",\n \"starting_after\": \"<string>\",\n \"created_since\": 123\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "<string>",
"object": "payment_intent",
"amount": 123,
"amount_capturable": 123,
"amount_details": {
"tip": {}
},
"amount_received": 123,
"application": "<string>",
"application_fee_amount": 123,
"automatic_payment_methods": {
"enabled": true
},
"canceled_at": 123,
"cancellation_reason": "<string>",
"capture_method": "<string>",
"client_secret": "<string>",
"confirmation_method": "<string>",
"created": 123,
"currency": "<string>",
"customer": "<string>",
"description": "<string>",
"invoice": "<string>",
"latest_charge": "<string>",
"livemode": true,
"metadata": {},
"payment_method": "<string>",
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "<string>"
}
},
"payment_method_types": [
"<string>"
],
"processing": null,
"setup_future_usage": "<string>",
"shipping": null,
"status": "<string>"
}
],
"has_more": true
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
⌘I
List Stripe Payment Intents
curl --request POST \
--url https://nestvet.com/api/1.1/wf/psp-payments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"organization": "<string>",
"limit": 123,
"offset": 123,
"clinic": "<string>",
"starting_after": "<string>",
"created_since": 123
}
'import requests
url = "https://nestvet.com/api/1.1/wf/psp-payments"
payload = {
"organization": "<string>",
"limit": 123,
"offset": 123,
"clinic": "<string>",
"starting_after": "<string>",
"created_since": 123
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
organization: '<string>',
limit: 123,
offset: 123,
clinic: '<string>',
starting_after: '<string>',
created_since: 123
})
};
fetch('https://nestvet.com/api/1.1/wf/psp-payments', 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://nestvet.com/api/1.1/wf/psp-payments",
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([
'organization' => '<string>',
'limit' => 123,
'offset' => 123,
'clinic' => '<string>',
'starting_after' => '<string>',
'created_since' => 123
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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://nestvet.com/api/1.1/wf/psp-payments"
payload := strings.NewReader("{\n \"organization\": \"<string>\",\n \"limit\": 123,\n \"offset\": 123,\n \"clinic\": \"<string>\",\n \"starting_after\": \"<string>\",\n \"created_since\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://nestvet.com/api/1.1/wf/psp-payments")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"organization\": \"<string>\",\n \"limit\": 123,\n \"offset\": 123,\n \"clinic\": \"<string>\",\n \"starting_after\": \"<string>\",\n \"created_since\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://nestvet.com/api/1.1/wf/psp-payments")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"organization\": \"<string>\",\n \"limit\": 123,\n \"offset\": 123,\n \"clinic\": \"<string>\",\n \"starting_after\": \"<string>\",\n \"created_since\": 123\n}"
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "<string>",
"object": "payment_intent",
"amount": 123,
"amount_capturable": 123,
"amount_details": {
"tip": {}
},
"amount_received": 123,
"application": "<string>",
"application_fee_amount": 123,
"automatic_payment_methods": {
"enabled": true
},
"canceled_at": 123,
"cancellation_reason": "<string>",
"capture_method": "<string>",
"client_secret": "<string>",
"confirmation_method": "<string>",
"created": 123,
"currency": "<string>",
"customer": "<string>",
"description": "<string>",
"invoice": "<string>",
"latest_charge": "<string>",
"livemode": true,
"metadata": {},
"payment_method": "<string>",
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "<string>"
}
},
"payment_method_types": [
"<string>"
],
"processing": null,
"setup_future_usage": "<string>",
"shipping": null,
"status": "<string>"
}
],
"has_more": true
}