Create account Run in API Explorer
Ask AI
Creates an account for the authenticated API key owner only when the requested currency is enabled in the owner's effective jurisdiction.
Headers
-
Public API key issued from the Lumetrade API key management flow.
-
API secret paired with the public API key.
POST
/api/v1/accounts
curl \
--request POST 'https://api.lumetrade.com/api/v1/accounts' \
--header "Content-Type: application/json" \
--header "X-API-KEY: string" \
--header "X-API-SECRET: string" \
--data '{"currency":"ZAR"}'
Request examples
# Headers
X-API-KEY: string
X-API-SECRET: string
# Payload
{
"currency": "ZAR"
}
Response examples (201)
{
"id": "acc_8F4J2N",
"currency": "ZAR",
"balance": 2500,
"lockedBalance": 0
}
Response examples (400)
{
"id": "acc_8F4J2N",
"currency": "ZAR",
"balance": 2500,
"lockedBalance": 0
}
Response examples (404)
{
"id": "acc_8F4J2N",
"currency": "ZAR",
"balance": 2500,
"lockedBalance": 0
}
Response examples (409)
{
"id": "acc_8F4J2N",
"currency": "ZAR",
"balance": 2500,
"lockedBalance": 0
}