const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://core.prod.gnosispay.com/partner-api/v1/accounts/{account_id}/limit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://core.prod.gnosispay.com/partner-api/v1/accounts/{account_id}/limit \
--header 'Authorization: Bearer <token>'import requests
url = "https://core.prod.gnosispay.com/partner-api/v1/accounts/{account_id}/limit"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://core.prod.gnosispay.com/partner-api/v1/accounts/{account_id}/limit"
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://core.prod.gnosispay.com/partner-api/v1/accounts/{account_id}/limit")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://core.prod.gnosispay.com/partner-api/v1/accounts/{account_id}/limit")
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{
"amount": 50000,
"currency": "EUR",
"decimals": 2,
"sync_status": "synced",
"updated_at": "2025-06-15T14:30:00Z",
"spent_today": 12550,
"remaining": 37450
}{
"code": 123,
"message": "<string>",
"reason": "<string>"
}Get an account spending limit
Retrieves the currently configured daily card-spending limit for an account. This is a cumulative spending limit, not a per-transaction cap: an authorization that meets or exceeds the limit can be approved, after which subsequent eligible authorizations are declined.
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://core.prod.gnosispay.com/partner-api/v1/accounts/{account_id}/limit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://core.prod.gnosispay.com/partner-api/v1/accounts/{account_id}/limit \
--header 'Authorization: Bearer <token>'import requests
url = "https://core.prod.gnosispay.com/partner-api/v1/accounts/{account_id}/limit"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://core.prod.gnosispay.com/partner-api/v1/accounts/{account_id}/limit"
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://core.prod.gnosispay.com/partner-api/v1/accounts/{account_id}/limit")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://core.prod.gnosispay.com/partner-api/v1/accounts/{account_id}/limit")
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{
"amount": 50000,
"currency": "EUR",
"decimals": 2,
"sync_status": "synced",
"updated_at": "2025-06-15T14:30:00Z",
"spent_today": 12550,
"remaining": 37450
}{
"code": 123,
"message": "<string>",
"reason": "<string>"
}Path Parameters
The account ID.
Response
The request has succeeded.
Configured daily limit in the currency's smallest unit.
ISO-4217 currency code.
Number of decimal places for this currency (2 for USD, EUR, and GBP).
Application status of the limit. pending means the update is still being
applied, synced means it is active, and failed means it could not be
applied.
pending, synced, failed Last time this limit was modified.
Eligible card spending counted against this limit since 00:00 UTC, summed across all cards on the account and expressed in the currency's smallest unit.
Remaining headroom for today, in the currency's smallest unit. Equal to
max(0, amount - spent_today).