An Accept can be as simple as (have a Follow activity as the object field):
{ "@context": [ "https://www.w3.org/ns/activitystreams" ], "type": "Accept", "actor": "https://example.social/users/subscriber", "to": [ "https://fedi.example/users/poster" ], "object": { "type": "Follow", "actor": "https://fedi.example/users/poster", "object": "https://example.social/users/subscriber" } }For the best case, you can just copy the whole Follow activity into the ‘object’ field; meanwhile just referencing the activity ID of the Follow alone would be insufficient.