API reference
Active country catalog
Returns the active admin-managed country catalog and default currencies; this is not a list of enabled payment corridors.
GET
https://api.sparkglim.net/api/public/countriesAccess model
- Access model
- Public access with validation
- Documented availability
- Implemented in source
Availability is verified from source, not a live production guarantee.
Catalog presence does not activate payments or country domains.
Request
Examples describe the contract and are not executed. Use authorized test records; never paste a real secret into these pages.
http
GET /api/public/countries HTTP/1.1
Host: api.sparkglim.netResponse
json
{
"success": true,
"data": [
{
"code": "GH",
"name": "Ghana",
"phoneCode": "233",
"isDefault": true,
"currency": {
"code": "GHS",
"name": "Ghanaian cedi",
"symbol": "GH₵",
"decimal_precision": 2
}
}
]
}json
{
"success": false,
"error": "<ERROR_MESSAGE>"
}Validation, permissions, unavailable records and temporary service failures use the handler’s HTTP status and error payload.
Limits & retries
Default Server limit: 100 requests per IP per 60 seconds. Resource-specific controls also apply.
Source compatibility
Authorized operations require account-specific testing.
server/src/api/router.tsserver/src/api/routes/public.ts