Create conversion rule
Creates a standing conversion rule.
A rule is a strict 1:1:1 mapping of a single from (asset + via) to a single to (asset + destination). PWS provisions one inbound endpoint (IBAN, sort code, or deposit address — selected by from.via) and returns it under inbound. A credit fires the rule if and only if it lands on this rule’s inbound.id, AND its asset matches from.asset, AND its amount matches from.amount when set. Otherwise the credit lands in the account balance.
Multi-network support is multi-rule: to accept USDC on N chains, create N rules, one per network.
Authorizations
Headers
Client-generated UUIDv4 for safe retries. Sent as the Idempotency-Key HTTP header. Replayed responses include the Idempotent-Replayed: true header.
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$"550e8400-e29b-41d4-a716-446655440000"
Path Parameters
ID of the account the request applies to. This refers to one of the accounts held by the user the request is acting on behalf of (typically the user's main account, but any of the user's accounts is accepted). Routes the request to that specific account container. Canonical identifier for an account in the Payward public API.
14 - 42Body
Request to create a standing conversion rule. PWS provisions the inbound endpoint inline and returns it under data.inbound on the response.
Source side of a conversion rule. via is required — it selects which inbound endpoint type PWS provisions (IBAN, sort code, deposit address, etc.). asset.amount is optional: when set, the rule fires only on credits matching that exact amount; when omitted, any amount triggers the rule.
Destination side of a conversion rule.
Optional human-friendly label.
256Initial rule status. Defaults to active when omitted.
active, paused Response
Successful response
A standing conversion rule.
A rule is a strict 1:1:1 (from / to / via) mapping. PWS provisions one inbound endpoint and returns it under inbound. Each matching credit fires the rule and produces a Conversion; current_uses increments on each successful firing.