fn payment_authorization_guard( declaration: &Value, actor_id: i64, state: &Value, ) -> Result<Mutation, DatabaseError>