API V1 (legacy)
Balances (V1)
Read the accounts (one per currency) and balances linked to the token.
You are reading the legacy V1, maintained for existing integrations. For a new integration, use V2; to migrate, see Versions and migration.
Balances#
GET /V1/payment/sold#
Parameters: token (required), currency (optional, CDF or USD). results.details lists the token's accounts: currency and solde (decimal amount as a string, e.g. "125000.00").
CDF balance
curl "https://api.labyrinthe-rdc.com/api/V1/payment/sold?token=VOTRE_TOKEN¤cy=CDF" \
-H "Accept: application/json"Token accounts#
GET /V1/payment/my-account#
Like sold, without a currency filter: all the token's accounts.
Accounts
curl "https://api.labyrinthe-rdc.com/api/V1/payment/my-account?token=VOTRE_TOKEN" \
-H "Accept: application/json"These are the same balances as in V2 (live balances): in V2, GET /V2/balances gives a lighter read.