Optional analytics on public pages. No session recording. Support works either way. Privacy details
API reference
Chain IDs, tokens, confirmation policy.
/networksCatalogue of chain IDs, native assets, supported tokens, and confirmation policy. Publishable keys may call it.
const response = await fetch(`${process.env.BOSPAY_API_BASE}/networks`, {
method: "GET",
headers: {
"Content-Type": "application/json",
"BOSPay-Version": "2026-09-23",
"X-API-Key": process.env.BOSPAY_API_KEY,
}
});
if (!response.ok) {
throw new Error(`BOSPay request failed: ${response.status}`);
}
const data = await response.json();Success
{
"object": "list",
"data": [
{
"id": "sepolia",
"object": "network",
"nativeCurrency": "ETH",
"environment": "sandbox"
}
],
"hasMore": false,
"nextCursor": null
}Validation error
{
"error": {
"type": "invalid_request_error",
"code": "validation_error",
"message": "A valid fiatAmount is required.",
"field": "fiatAmount",
"requestId": "req_3f0c9a1b2c4d5e6f7a8b9c0d"
}
}