Is there an API I can use to monitor my wallet balance?

Your Smile ID wallet balance is always available by logging into the Smile ID dashboard. However, if you would like to monitor it programmatically there is an API which will tell you your current balance. The default currency is USD.

JSON request body:

{
  "currency": "<optional 'KES', 'NGN', 'USD'>",
  "environment": "<'test' or 'production' to indicate which API key was used>",
  "partner_id": "<Put your partner ID here>",
  "signature": "<Put signature here>",
  "timestamp": "<Put the timestamp here>"
}

Example response:

{
  "wallet_balance": 500.0,
  "current_as_of": "2020-05-21T20:39:56.173Z"
}

Last updated

Was this helpful?