Expand responses to get related objects inline.
expand
request parameter. This parameter is available on all API requests, and applies to the response of that request only.
The expandable label in this documentation indicates ID fields that you can expand into objects. When an object contains the ID of a related object in its response properties, you can expand these objects in line with the expand
request parameter.
For example, when querying Sources, without expanding any fields:
connector_version
field returned the ID of the Connector Version model related to this Source.expand[]
query parameter:
connector
field, inside the connector_version
field returned the ID of the Connector model related to the Connector Version..
). For example, requesting connector.customer
on a transaction expands the payment property into a full Payment object, then expands the customer property on that payment into a full Customer object.
connector
field of the connector_version
of a Source, using the expand[]
query parameter:
expand
parameter on any endpoint that returns expandable fields, including list, details, create, and update endpoints.
Performing deep expansions on numerous list requests might result in slower processing times.
You can expand multiple objects at the same time by identifying multiple items in the expand
array.