Settlement contract health per chain
GET
/payments/health
const url = 'https://hub.stablezact.com/api/v1/payments/health';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://hub.stablezact.com/api/v1/payments/healthReports whether the settlement contract is reachable on each supported chain, keyed by chain id. Not the same as /api/health, which is a liveness probe on the service and is not versioned.
Responses
Section titled “Responses”Health per chain.
Media typeapplication/json
object
paymentSplitterHealth
object
key
additional properties
object
address
string
status
string
supported
boolean
Examplegenerated
{ "paymentSplitterHealth": { "additionalProperty": { "address": "example", "status": "example", "supported": true } }}