Get program capabilities
curl --request GET \
--url https://api.next.orenda.finance/v1/capabilities \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.next.orenda.finance/v1/capabilities"
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/capabilities', 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/capabilities",
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/capabilities"
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/capabilities")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.next.orenda.finance/v1/capabilities")
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,
"data": {
"programId": "examplebank",
"sandbox": false,
"program": {
"payments": {
"batch": true,
"international": false,
"directDebit": {
"sepa": true
}
},
"beneficiaries": {
"stepUpMethods": [
"passkey",
"totp"
]
}
},
"accounts": [
{
"accountId": "3f1c9b7e-1f4a-4d2b-9c11-2f8a6b0e4d31",
"currency": "GBP",
"region": "UK",
"details": [
"sortCode",
"accountNumber"
],
"payments": {
"reference": {
"min": 0,
"max": 35,
"charset": "letters, digits, spaces and / - ? : ( ) . , ' +"
},
"feePreview": true
},
"beneficiaries": {
"addressRequired": false
},
"operations": {
"block": true,
"unblock": true,
"close": true
},
"cards": {
"limits": {
"mode": "custom"
}
}
},
{
"accountId": "b82d5a44-6e2c-4a90-8f77-0c3d1e9a5b62",
"currency": "EUR",
"region": "EU",
"details": [
"iban"
],
"payments": {
"reference": {
"min": 5,
"max": 60,
"charset": "letters, digits, spaces and ( ) : ' ` . + , / \\ -"
},
"feePreview": true
},
"beneficiaries": {
"addressRequired": false
},
"operations": {
"block": true,
"unblock": true,
"close": true
},
"cards": {
"limits": {
"mode": "preset"
}
}
}
]
}
}{
"success": false,
"code": "<string>",
"message": "<string>"
}{
"success": false,
"code": "<string>",
"message": "<string>"
}{
"success": false,
"code": "<string>",
"message": "<string>"
}Capabilities
Get program capabilities
Returns what the caller’s program supports. Takes no parameters — the program, the environment and the accounts all come from the token.
Fields are omitted rather than guessed. If region is absent on an account, that account carries no region and the reference limits shown are the ones the API will actually enforce for it.
accounts lists every account you hold, across every customer on your token, and omits accounts that are pending or closed — matching what GET /v1/accounts returns. An empty accounts array always means you hold none; it is never a silent read failure.
GET
/
v1
/
capabilities
Get program capabilities
curl --request GET \
--url https://api.next.orenda.finance/v1/capabilities \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.next.orenda.finance/v1/capabilities"
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/capabilities', 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/capabilities",
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/capabilities"
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/capabilities")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.next.orenda.finance/v1/capabilities")
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,
"data": {
"programId": "examplebank",
"sandbox": false,
"program": {
"payments": {
"batch": true,
"international": false,
"directDebit": {
"sepa": true
}
},
"beneficiaries": {
"stepUpMethods": [
"passkey",
"totp"
]
}
},
"accounts": [
{
"accountId": "3f1c9b7e-1f4a-4d2b-9c11-2f8a6b0e4d31",
"currency": "GBP",
"region": "UK",
"details": [
"sortCode",
"accountNumber"
],
"payments": {
"reference": {
"min": 0,
"max": 35,
"charset": "letters, digits, spaces and / - ? : ( ) . , ' +"
},
"feePreview": true
},
"beneficiaries": {
"addressRequired": false
},
"operations": {
"block": true,
"unblock": true,
"close": true
},
"cards": {
"limits": {
"mode": "custom"
}
}
},
{
"accountId": "b82d5a44-6e2c-4a90-8f77-0c3d1e9a5b62",
"currency": "EUR",
"region": "EU",
"details": [
"iban"
],
"payments": {
"reference": {
"min": 5,
"max": 60,
"charset": "letters, digits, spaces and ( ) : ' ` . + , / \\ -"
},
"feePreview": true
},
"beneficiaries": {
"addressRequired": false
},
"operations": {
"block": true,
"unblock": true,
"close": true
},
"cards": {
"limits": {
"mode": "preset"
}
}
}
]
}
}{
"success": false,
"code": "<string>",
"message": "<string>"
}{
"success": false,
"code": "<string>",
"message": "<string>"
}{
"success": false,
"code": "<string>",
"message": "<string>"
}