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

Documentation Index

Fetch the complete documentation index at: https://docs.stablepay.global/llms.txt

Use this file to discover all available pages before exploring further.

Get Account

Returns your account information.

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": "api@acme.com",
    "environment": "production",
    "status": "active",
    "apiKeyPrefix": "pk_live_a1b2",
    "webhookUrl": "https://acme.com/webhooks/stablepay",
    "volume": {
      "monthlyUsd": 125000,
      "totalUsd": 1250000
    },
    "limits": {
      "rateLimit": 100
    }
  }
}

Response Fields

FieldDescription
nameYour account name
emailAccount email
environmentsandbox or production
statusAccount status
apiKeyPrefixYour API key prefix
webhookUrlYour configured webhook URL
volume.monthlyUsdVolume processed this month
volume.totalUsdAll-time volume processed
limits.rateLimitAPI requests per minute