Skip to main content
POST
/
api
/
public
/
v1
/
plugins
/
v2
/
deployment
/
sync-templates
Sync deployment templates (V2)
curl --request POST \
  --url https://app.tagadapay.com/api/public/v1/plugins/v2/deployment/sync-templates \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "deploymentId": "plugin_deployment_abc123",
  "templates": {
    "default": {
      "primaryColor": "#ff0000",
      "apiKey": "default-key"
    },
    "premium": {
      "primaryColor": "#00ff00",
      "apiKey": "premium-key",
      "features": [
        "advanced",
        "analytics"
      ]
    }
  }
}'
"<any>"

Authorizations

Authorization
string
header
required

Enter your API key as: Bearer your-api-key

Body

application/json
deploymentId
string
required
templates
object
required

Response

Successful response

The response is of type any.