curl --request GET \
--url https://api.next.orenda.finance/v1/customers/{customerId}/transaction-limits \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.next.orenda.finance/v1/customers/{customerId}/transaction-limits"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.next.orenda.finance/v1/customers/{customerId}/transaction-limits', 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.next.orenda.finance/v1/customers/{customerId}/transaction-limits",
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: Bearer <token>"
],
]);
$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.next.orenda.finance/v1/customers/{customerId}/transaction-limits"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.next.orenda.finance/v1/customers/{customerId}/transaction-limits")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.next.orenda.finance/v1/customers/{customerId}/transaction-limits")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"message": "<string>",
"data": {
"limits": {
"category": "<string>",
"limitProfile": "<string>",
"enforced": {
"outbound": true,
"inbound": true
},
"asOf": "<string>",
"outbound": {
"single": {
"amount": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
}
},
"daily": {
"amount": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
},
"count": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
}
},
"weekly": {
"amount": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
},
"count": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
}
},
"monthly": {
"amount": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
},
"count": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
}
},
"annual": {
"amount": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
},
"count": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
}
}
},
"inbound": {
"single": {
"amount": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
}
},
"daily": {
"amount": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
},
"count": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
}
},
"weekly": {
"amount": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
},
"count": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
}
},
"monthly": {
"amount": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
},
"count": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
}
},
"annual": {
"amount": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
},
"count": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
}
}
}
}
}
}{
"success": false,
"code": "<string>",
"message": "<string>",
"data": "<unknown>"
}{
"message": "<string>"
}{
"message": "<string>"
}{
"success": false,
"code": "<string>",
"message": "<string>",
"data": "<unknown>"
}{
"success": false,
"code": "<string>",
"message": "<string>",
"data": "<unknown>"
}Get the customer's transaction limits
What the customer can send and receive, what they have used and what is left, in every window their program measures. Amounts are decimals to two places and add up at face value across currencies, with no conversion. Only enabled windows and measures appear: a window that isn’t measured is absent, not zero. limits is null when this customer’s transactions are not measured: the program is not on limits or not counting, or their profile has no configured limits. Back office can read it too, with ?programId= naming a program its token’s programs claim allows, the customer read within that program only; a custodian (guardian-bound) role only for a customer whose application is bound to it. Anything outside that is the 404, never a 403.
curl --request GET \
--url https://api.next.orenda.finance/v1/customers/{customerId}/transaction-limits \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.next.orenda.finance/v1/customers/{customerId}/transaction-limits"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.next.orenda.finance/v1/customers/{customerId}/transaction-limits', 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.next.orenda.finance/v1/customers/{customerId}/transaction-limits",
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: Bearer <token>"
],
]);
$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.next.orenda.finance/v1/customers/{customerId}/transaction-limits"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.next.orenda.finance/v1/customers/{customerId}/transaction-limits")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.next.orenda.finance/v1/customers/{customerId}/transaction-limits")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"message": "<string>",
"data": {
"limits": {
"category": "<string>",
"limitProfile": "<string>",
"enforced": {
"outbound": true,
"inbound": true
},
"asOf": "<string>",
"outbound": {
"single": {
"amount": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
}
},
"daily": {
"amount": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
},
"count": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
}
},
"weekly": {
"amount": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
},
"count": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
}
},
"monthly": {
"amount": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
},
"count": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
}
},
"annual": {
"amount": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
},
"count": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
}
}
},
"inbound": {
"single": {
"amount": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
}
},
"daily": {
"amount": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
},
"count": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
}
},
"weekly": {
"amount": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
},
"count": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
}
},
"monthly": {
"amount": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
},
"count": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
}
},
"annual": {
"amount": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
},
"count": {
"profile": 123,
"override": 123,
"effective": 123,
"used": 123,
"available": 123
}
}
}
}
}
}{
"success": false,
"code": "<string>",
"message": "<string>",
"data": "<unknown>"
}{
"message": "<string>"
}{
"message": "<string>"
}{
"success": false,
"code": "<string>",
"message": "<string>",
"data": "<unknown>"
}{
"success": false,
"code": "<string>",
"message": "<string>",
"data": "<unknown>"
}Authorizations
The user's token from a completed sign-in. The program and environment come from the token.
Path Parameters
The customer
1Query Parameters
The program to act on. Ignored for customer tokens.
Only when the token carries no sandbox claim: which environment to act in.
true, false