Skip to main content
POST
Create a Connection
Creates a connection in ACTIVE status from credentials and configuration you fill in based on the provider’s catalog. The response includes the connection_id you’ll use to reference this connection from routing rules.

Headers

string
required
Code of the account under which the connection is created. The account comes from this header, not from the request body.
string
required
UUID, 24-hour scope. Re-sending the same key + body returns the cached response; same key with a different body returns a 409.

Body

string
required
Your label for this connection. Must be unique within the account. Free-form (e.g., "adyen-us-prod-001", "stripe-eu-test").
string
required
Yuno provider identifier (e.g., "STRIPE", "ADYEN"). Must exist in the catalog.
enum
Optional. Defaults to "PAYIN", the only supported value.
string[]
Optional. Subset of the provider’s payment_method_type[] (from the catalog).Omit this field to enable every payment method the provider supports. Payment methods the provider adds later are added to the connection too.If you send it, include at least one payment method. An empty array ([]) is rejected with 400 VALIDATION_ERROR: either omit the field or send it with values.
object[]
required
One {param_id, value} pair per parameter you’re supplying. Flat array — even nested catalog params are submitted at the top level; Yuno resolves the hierarchy from the catalog tree.Required params (where the catalog has optional: false) must be present and non-empty. Activating a boolean parent ("value": true) makes its optional: false children required.
object[]
Optional. Per-connection cost configuration. Omit it for a connection without costs. currency must be one supported by the provider.

Response

string
Unique identifier for the connection. Save this value to reference it from routing rules.
string
Your internal label for this connection.
string
The provider this connection belongs to (e.g., ADYEN).
string
Current status (always ACTIVE on create).
string
Always PAYIN.
string[]
List of supported payment methods.
object[]
Echoed parameters. Sensitive values are masked as ***.
object[]
Cost configuration for the connection.
string
ISO 8601 timestamp.
string
ISO 8601 timestamp.
Yuno validates param_id values, required params and costs[].currency against the provider’s catalog. It does not call the provider to check the credentials, so a wrong key is accepted with 201.
Secret handling: any param marked secret: true in the catalog is returned as "value": "***". Your submitted secret is stored encrypted and never echoed back.

Errors

Authorizations

PUBLIC-API-KEY
string
header
default:<Your PUBLIC-API-KEY>
required
PRIVATE-SECRET-KEY
string
header
default:<Your PRIVATE-SECRET-KEY>
required

Headers

X-account-code
string
required

The account that owns the connection.

X-Idempotency-Key
string<uuid>
required

Body

application/json
merchant_connection_id
string
required
Example:

"stripe-us-prod-001"

provider_id
string
required
Example:

"STRIPE"

params
object[]
required
flow_type
string

Optional. Defaults to PAYIN.

Example:

"PAYIN"

payment_methods
string[]

Optional. Subset of the provider's payment_method_type[]. Omit it to enable every payment method the provider supports, including ones added later. If sent, it must contain at least one value: an empty array is rejected with 400 VALIDATION_ERROR.

Minimum array length: 1
Example:
costs
object[]

Optional. Per-connection cost configuration.

Response

Created

connection_id
string
Example:

"f1a3c4d5-7b8e-4a2c-9d1e-3f4a5b6c7d8e"

merchant_connection_id
string
Example:

"stripe-us-prod-001"

provider_id
string
Example:

"STRIPE"

status
string
Example:

"ACTIVE"

flow_type
string
Example:

"PAYIN"

payment_methods
string[]
Example:
params
object[]
costs
object[]
created_at
string<date-time>
Example:

"2026-05-12T10:24:00Z"

updated_at
string<date-time>
Example:

"2026-05-12T10:24:00Z"