Dodo

Get Dodo Configuration

Retrieve the current Dodo Payments configuration for this merchant. The stored secret key is masked; webhook presence indicates whether an inbound webhook secret is set.

GET
/dodo/config

Authorization

bearerAuth
AuthorizationBearer <token>

Use your secret API key as the bearer token

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://api.getlumen.dev/v1/dodo/config"
{
  "id": "dodo_8fQ9rGzK3pV1sR6tB0nM2d",
  "secretKey": "sk_live_****************abcd",
  "hasWebhook": true,
  "environment": "live",
  "createdAt": "2025-02-10T15:12:44.123Z"
}
{
  "error": "Dodo configuration not found"
}
{
  "error": "Failed to fetch Dodo configuration"
}