Financials
List Stripe Disputes
deprecated
POST
/
psp-disputes
List Stripe Disputes
curl --request POST \
--url https://nestvet.com/api/1.1/wf/psp-disputes \
--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-disputes"
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-disputes', 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-disputes",
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-disputes"
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-disputes")
.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-disputes")
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": "dispute",
"amount": 123,
"balance_transactions": [
{}
],
"charge": "<string>",
"created": 123,
"currency": "<string>",
"evidence": {},
"evidence_details": {
"due_by": 123,
"has_evidence": true,
"past_due": true,
"submission_count": 123
},
"is_charge_refundable": true,
"livemode": true,
"metadata": {},
"network_reason_code": "<string>",
"payment_intent": "<string>",
"payment_method_details": {
"card": {
"brand": "<string>",
"network_reason_code": "<string>"
},
"type": "<string>"
},
"reason": "bank_cannot_process",
"status": "charge_refunded"
}
],
"has_more": true
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
⌘I
List Stripe Disputes
curl --request POST \
--url https://nestvet.com/api/1.1/wf/psp-disputes \
--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-disputes"
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-disputes', 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-disputes",
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-disputes"
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-disputes")
.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-disputes")
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": "dispute",
"amount": 123,
"balance_transactions": [
{}
],
"charge": "<string>",
"created": 123,
"currency": "<string>",
"evidence": {},
"evidence_details": {
"due_by": 123,
"has_evidence": true,
"past_due": true,
"submission_count": 123
},
"is_charge_refundable": true,
"livemode": true,
"metadata": {},
"network_reason_code": "<string>",
"payment_intent": "<string>",
"payment_method_details": {
"card": {
"brand": "<string>",
"network_reason_code": "<string>"
},
"type": "<string>"
},
"reason": "bank_cannot_process",
"status": "charge_refunded"
}
],
"has_more": true
}