curl --request POST \
--url https://api.cloud.flexprice.io/v1/connections \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"encrypted_secret_data": {
"generic": {
"data": {}
},
"stripe": {
"account_id": "<string>",
"publishable_key": "<string>",
"secret_key": "<string>",
"webhook_secret": "<string>"
}
},
"name": "<string>",
"provider_type": "flexprice"
}'
{
"created_at": "<string>",
"created_by": "<string>",
"environment_id": "<string>",
"id": "<string>",
"name": "<string>",
"provider_type": "flexprice",
"status": "published",
"tenant_id": "<string>",
"updated_at": "<string>",
"updated_by": "<string>"
}
Create a new integration connection
curl --request POST \
--url https://api.cloud.flexprice.io/v1/connections \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"encrypted_secret_data": {
"generic": {
"data": {}
},
"stripe": {
"account_id": "<string>",
"publishable_key": "<string>",
"secret_key": "<string>",
"webhook_secret": "<string>"
}
},
"name": "<string>",
"provider_type": "flexprice"
}'
{
"created_at": "<string>",
"created_by": "<string>",
"environment_id": "<string>",
"id": "<string>",
"name": "<string>",
"provider_type": "flexprice",
"status": "published",
"tenant_id": "<string>",
"updated_at": "<string>",
"updated_by": "<string>"
}
Enter your API key in the format x-api-key <api-key>*
Connection
The body is of type object
.
Created
The response is of type object
.