Skip to main content
POST
/
plugins
/
{id}
/
configure
Configure a plugin
curl --request POST \
  --url https://api.dualship.run/plugins/{id}/configure \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "api_key": "sk_test_123",
  "settings": {}
}
'
{
  "configured": true,
  "id": "stripe-payment"
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication

Path Parameters

id
string
required

Plugin ID

Body

application/json

Plugin configuration

api_key
string
Example:

"sk_test_123"

settings
object

Response

Plugin configured successfully

Plugin configuration response

configured
boolean
Example:

true

id
string
Example:

"stripe-payment"