Skip to main content
POST
/
api
/
v1
/
payments
/
stripe
/
projects
/
{project_id}
/
validate-credentials
Validate Stripe Credentials
curl --request POST \
  --url https://api.devkit4ai.com/api/v1/payments/stripe/projects/{project_id}/validate-credentials \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "secret_key": "<string>",
  "is_test_mode": true
}
'
{
  "valid": true,
  "message": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://devkit4ai.com/docs/llms.txt

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

Authorizations

Authorization
string
header
required

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

Path Parameters

project_id
string<uuid>
required

Body

application/json

Request to validate Stripe credentials.

secret_key
string
required
Minimum string length: 1
is_test_mode
boolean
default:true

Response

Successful Response

Validation result for Stripe credentials.

valid
boolean
required
message
string
required