Set Participant Data action dropping custom attributes in Architect

Trying to pass a custom variable through an IVR flow using the Set Participant Data action. The JSON payload looks right, but the attribute isn’t showing up in the participant object later in the flow.

{
 "key": "custom_ref",
 "value": "12345"
}

Is there a specific format required for the key?