Retrieve an outcome definition
Returns the current version, or an earlier one with version. Includes reversal and dispute rates for the last 30 days. List the versions at /v1/outcome_definitions/{outcome_definition}/versions.
Authentication
AuthorizationBearer
A secret key (rl_sk_test_..., rl_sk_live_...) or a restricted key with limited scopes (rl_rk_test_..., rl_rk_live_...). A restricted key can carry agent: true and an expires_at, and is what a coding agent should hold. Keys end in a checksum so secret scanners can recognize them. People create, roll and revoke keys in the dashboard; GET /v1/api_keys lists them, masked.
Path parameters
outcome_definition
The outcome definition ID (od_...) or key.
Query parameters
version
Return this version. Defaults to the current one.
Response
The outcome definition.
id
object
key
name
event_name
criteria
version
Starts at 1 and goes up by one with each change to terms.
confirmation_window
reversal_horizon
reversal_rules
dispute_settings
metadata
Up to 50 keys of your own, with keys up to 40 characters and values up to 500 characters.
livemode
created_at
version_created_at
When this version took effect.
preset
The preset used to fill in values when this version was made, if any. The values below are explicit either way.
warnings
Only on create and update responses. Values outside the recommended ranges, with the reason.
actor
Who made this version.
stats
The last 30 days, across all versions.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error