[api] Do not call object_params twice within CheckoutsController

Fixes #3965