Skip to main content
GET
/
api
/
v1
/
payments
/
projects
List Projects Payment Config
curl --request GET \
  --url https://api.devkit4ai.com/api/v1/payments/projects \
  --header 'Authorization: Bearer <token>'
{
  "projects": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "has_payment_config": true,
      "has_test_credentials": true,
      "has_live_credentials": true,
      "is_active": true,
      "created_at": "2023-11-07T05:31:56Z",
      "description": "<string>",
      "test_configured_at": "2023-11-07T05:31:56Z",
      "live_configured_at": "2023-11-07T05:31:56Z"
    }
  ],
  "total": 123
}
Retrieve all projects owned by the authenticated developer along with their Stripe payment configuration status. Shows whether test and/or live credentials are configured for each project.

Authentication

This endpoint requires developer authentication via OAuth2 Bearer Token.

Response

projects
array
Array of projects with payment configuration status
total
integer
Total number of projects

Example Request

curl "https://api.devkit4ai.com/api/v1/payments/projects" \
  -H "Authorization: Bearer {developer_jwt}"

Example Response

{
  "projects": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "name": "My SaaS App",
      "description": "AI-powered image generation platform",
      "has_payment_config": true,
      "has_test_credentials": true,
      "has_live_credentials": false,
      "test_configured_at": "2026-01-10T14:30:00Z",
      "live_configured_at": null,
      "is_active": true,
      "created_at": "2026-01-01T00:00:00Z"
    },
    {
      "id": "660e8400-e29b-41d4-a716-446655440001",
      "name": "Beta Project",
      "description": null,
      "has_payment_config": false,
      "has_test_credentials": false,
      "has_live_credentials": false,
      "test_configured_at": null,
      "live_configured_at": null,
      "is_active": true,
      "created_at": "2026-01-15T00:00:00Z"
    }
  ],
  "total": 2
}

Configuration Status

The payment configuration status helps you understand which projects are ready for payments:
Start with test credentials for development and testing, then add live credentials when you’re ready to accept real payments.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Response

200 - application/json

Successful Response

List of projects with payment config status.

projects
ProjectPaymentConfigResponse · object[]
required
total
integer
required