Skip to main content
PUT

Authorizations

API-Key
string
header
required

Your public API key. Identifies the partner making the request.

API-Sign
string
header
required

HMAC signature over the request, computed with your private key.

API-Timestamp
string
header
required

Time the request was signed, as Unix milliseconds. Included in the request signature. Requests signed too far from the server's time are rejected.

Path Parameters

account_id
string
required

Globally unique public identifier for an account.

Required string length: 14 - 42
conversion_rule_id
string<uuid>
required

Conversion rule identifier.

Body

application/json

Request to update an existing conversion rule.

The supplied to, name, and status replace the conversion rule's current values. A supplied fee replaces the current fee. If you omit fee, the conversion rule keeps the current fee. The source side (from) is immutable. Re-create the conversion rule to change input asset, rail, or source type.

to
ConversionEndpoint · object
required

New destination side. Required (no partial updates supported).

status
enum<string>
required

New lifecycle status. Must be active or paused; soft-delete via the delete endpoint when it lands.

Available options:
active,
paused
name
string

New partner-facing label for the conversion rule. This is a full replacement: omit to clear the existing label, send the current label to keep it.

Required string length: 1 - 128
fee
object

New partner fee that applies to the conversions of this conversion rule. If you send a fee, the update replaces the current fee. If you do not send a fee, the update keeps the current fee. A fee with bps set to 0 sets a zero fee. An empty fee ({}) removes the current fee, and the configured partner fee applies.

Response

Successful response

data
ConversionRule · object
required

The updated conversion rule.