The payment rule object
A comprehensive list of the payment rule resource's attributes and relationships
A payment rule object is returned as part of the response body of each successful list, retrieve, create or update API call to the /api/2026-05/payment_rules endpoint.
Fields
type
string
payment_rules
id
string
The payment rule unique identifier
links.self
string
The payment rule endpoint URL
attributes.template_id
string
The identifier of the template to be used (UUID).
attributes.template_settings
object
The settings for the template used.
attributes.expires_at
string
The expiration date/time of this payment rule.
attributes._disable
boolean
Send this attribute if you want to mark this resource as disabled.
attributes._enable
boolean
Send this attribute if you want to mark this resource as enabled.
attributes.disabled_at
string
Time at which this resource was disabled.
attributes.created_at
string
Time at which the resource was created.
attributes.updated_at
string
Time at which the resource was last updated.
attributes.reference
string
A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever.
attributes.reference_origin
string
Any identifier of the third party system that defines the reference code.
attributes.metadata
object
Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format.
relationships.ruleable
object
The polymorphic ruleable resource associated to the rule.
relationships.event_stores
array
The associated event stores.
Last updated