Skip to main content
GET
/
api
/
v1
/
partner
/
account
Get Account Info
curl --request GET \
  --url https://api.khaime.com/api/v1/partner/account \
  --header 'X-API-Key: <api-key>'

Get Account Info

Returns the merchant’s account details associated with the API key. Used by integrations (e.g. the WooCommerce plugin) to auto-detect the merchant ID and baseline currency.

Request

No body required. Authentication is via the X-API-Key header.
curl -H "X-API-Key: pk_sandbox_bff301298a..." \
     https://api.khaime.com/api/v1/partner/account

Response

{
  "success": true,
  "data": {
    "merchant_id": 1234,
    "baseline_currency": "USD"
  }
}
FieldTypeDescription
merchant_idnumberThe numeric merchant ID for this account
baseline_currencystringThe store’s base pricing currency (e.g. USD, NGN)