Skip to main content
GET
https://api.stablepay.global
/
v2
/
account
Get Account
curl --request GET \
  --url https://api.stablepay.global/v2/account \
  --header 'Authorization: Bearer <token>'

Get Account

Returns your account information including pricing tier, current volume, and limits.

Request

curl https://api.stablepay.global/v2/account \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

{
  "success": true,
  "data": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "name": "Acme Corp",
    "email": "[email protected]",
    "environment": "production",
    "status": "active",
    "apiKeyPrefix": "pk_live_a1b2",
    "webhookUrl": "https://acme.com/webhooks/stablepay",
    "pricing": {
      "tier": "growth",
      "feePercent": 0.005,
      "maxTransactionUsd": 25000
    },
    "developerFee": {
      "enabled": true,
      "percent": 0.01,
      "totalEarningsInr": 125000
    },
    "volume": {
      "monthlyUsd": 125000,
      "totalUsd": 1250000,
      "monthResetAt": "2025-01-01T00:00:00Z"
    },
    "limits": {
      "rateLimit": 100
    }
  }
}

Response Fields

FieldDescription
pricing.tierYour pricing tier: standard, growth, enterprise, or custom
pricing.feePercentPlatform fee rate (0.005 = 0.5%)
pricing.maxTransactionUsdMaximum transaction amount
developerFee.enabledWhether developer fee is enabled
developerFee.percentYour developer fee rate (0.01 = 1%)
developerFee.totalEarningsInrTotal developer fee earnings in INR
volume.monthlyUsdVolume processed this month
volume.totalUsdAll-time volume processed
volume.monthResetAtWhen monthly volume was last reset
limits.rateLimitAPI requests per minute