cURL
#!/usr/bin/env bash
# List every currency RadiumOne supports, with its ISO 4217 minor units.
# Public: no access token needed. Send the ETag back in If-None-Match to get 304.
set -euo pipefail
API_BASE="${RADIUMONE_API_BASE:-https://api-sandbox.radiumone.io/gateway}"
curl -sS "$API_BASE/v1/currencies"#!/usr/bin/env python3
"""List every currency RadiumOne supports, with its ISO 4217 minor units.
Public: no access token needed.
"""
import json
import os
import requests
API_BASE = os.environ.get("RADIUMONE_API_BASE", "https://api-sandbox.radiumone.io/gateway")
def list_currencies() -> dict:
resp = requests.get(f"{API_BASE}/v1/currencies", timeout=30)
payload = resp.json()
if not resp.ok:
code = payload.get("type") or payload.get("code")
raise RuntimeError(f"currencies failed: {code} ({resp.status_code})")
return payload
if __name__ == "__main__":
print(json.dumps(list_currencies(), indent=2))
{
"status": "ok",
"request_id": "req_e5f6a2b3c4d5",
"data": {
"items": [
{
"code": "SGD",
"numeric_code": "702",
"minor_units": 2
},
{
"code": "USD",
"numeric_code": "840",
"minor_units": 2
}
]
}
}{
"detail": "Request payload failed validation.",
"status": 400,
"title": "Validation Error",
"type": "urn:radiumone:payment-gateway:validation-error"
}{
"detail": "An unexpected error occurred.",
"status": 500,
"title": "Internal Server Error",
"type": "urn:radiumone:payment-gateway:internal-error"
}{
"detail": "`urn:radiumone:payment-gateway:database-unavailable`: the database could not be reached or a query could not run. `retry_allowed` is true only for GET/HEAD/OPTIONS -- a mutating request may have reached a host before the failed write.",
"status": 503,
"title": "Database Unavailable",
"type": "urn:radiumone:payment-gateway:database-unavailable"
}List supported currencies - Payments API
List every currency RadiumOne supports with its ISO 4217 minor units. Public and cacheable, so no access token is needed.
GET
/
v1
/
currencies
cURL
#!/usr/bin/env bash
# List every currency RadiumOne supports, with its ISO 4217 minor units.
# Public: no access token needed. Send the ETag back in If-None-Match to get 304.
set -euo pipefail
API_BASE="${RADIUMONE_API_BASE:-https://api-sandbox.radiumone.io/gateway}"
curl -sS "$API_BASE/v1/currencies"#!/usr/bin/env python3
"""List every currency RadiumOne supports, with its ISO 4217 minor units.
Public: no access token needed.
"""
import json
import os
import requests
API_BASE = os.environ.get("RADIUMONE_API_BASE", "https://api-sandbox.radiumone.io/gateway")
def list_currencies() -> dict:
resp = requests.get(f"{API_BASE}/v1/currencies", timeout=30)
payload = resp.json()
if not resp.ok:
code = payload.get("type") or payload.get("code")
raise RuntimeError(f"currencies failed: {code} ({resp.status_code})")
return payload
if __name__ == "__main__":
print(json.dumps(list_currencies(), indent=2))
{
"status": "ok",
"request_id": "req_e5f6a2b3c4d5",
"data": {
"items": [
{
"code": "SGD",
"numeric_code": "702",
"minor_units": 2
},
{
"code": "USD",
"numeric_code": "840",
"minor_units": 2
}
]
}
}{
"detail": "Request payload failed validation.",
"status": 400,
"title": "Validation Error",
"type": "urn:radiumone:payment-gateway:validation-error"
}{
"detail": "An unexpected error occurred.",
"status": 500,
"title": "Internal Server Error",
"type": "urn:radiumone:payment-gateway:internal-error"
}{
"detail": "`urn:radiumone:payment-gateway:database-unavailable`: the database could not be reached or a query could not run. `retry_allowed` is true only for GET/HEAD/OPTIONS -- a mutating request may have reached a host before the failed write.",
"status": 503,
"title": "Database Unavailable",
"type": "urn:radiumone:payment-gateway:database-unavailable"
}Response
Successful Response
Standard success envelope. Every successful response has this shape, with the operation's own payload under data.
Correlation ID for this HTTP request, for logs and support. Send your own in the X-Request-Id header (letters, digits and hyphens, up to 36 characters -- other characters are stripped) or the gateway generates one. This is NOT the request_id idempotency key you send in a transaction body; the two are unrelated.